package com.corner.framework.config;

import com.corner.system.websocket.WebSocketClientHandler;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * WebSocket客户端配置
 * @author Lenovo
 * @date 2023/11/22
 */
@Configuration
@EnableScheduling
public class WebSocketClientConfig {
    @Bean
    public WebSocketClientHandler myWebSocketClientHandler() {
        return new WebSocketClientHandler();
    }
}